package com.itheima.mapper;

import com.itheima.pojo.OperateLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface LogMapper {

    @Select("select operate_log.id,operate_emp_id operateEmpId,operate_time operateTime,class_name className,method_name methodName,method_params methodParams,return_value returnValue,cost_time costTime,name operateEmpName from operate_log,emp where emp.id=operate_log.operate_emp_id")
    List<OperateLog> selectAll();
}
